﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace SmartDeviceProject1
{
    public partial class Form1 : Form
    {
        [DllImport("ManagedCode4C7.dll", EntryPoint="#1")]
        static extern void RetailMsg(int cond, string mesage);

        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            RetailMsg(1, "MananagedCode4C7 Test " +  DateTime.Now.ToString() + "\n");
        }
    }
}